Skip to content

fix(cli): add --flat to KNOWN_FLAGS so spawn list --flat works#3126

Open
la14-1 wants to merge 1 commit intomainfrom
fix/add-flat-to-known-flags
Open

fix(cli): add --flat to KNOWN_FLAGS so spawn list --flat works#3126
la14-1 wants to merge 1 commit intomainfrom
fix/add-flat-to-known-flags

Conversation

@la14-1
Copy link
Copy Markdown
Member

@la14-1 la14-1 commented Mar 31, 2026

Summary

  • spawn list --flat is documented in spawn help and handled in list.ts, but --flat was missing from the KNOWN_FLAGS set in flags.ts
  • This caused checkUnknownFlags() to reject the flag with "Unknown flag: --flat" before the list command could run
  • Adds --flat to KNOWN_FLAGS and bumps CLI version to 0.29.4

Test plan

  • Run spawn list --flat and verify it no longer errors with "Unknown flag"
  • Run spawn list --unknown-flag and verify it still shows the unknown flag error

🤖 Generated with Claude Code

The --flat flag is documented in `spawn help` and handled in list.ts,
but was missing from the KNOWN_FLAGS set in flags.ts. This caused
checkUnknownFlags() to reject it before the list command could run.

Agent: ux-engineer
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants